<?php

namespace app\api\controller;



use app\common\model\node\NodeModel;

class NodeController extends Base
{


    /**
     * 构造方法
     * @access public
     * @throws \Exception
     */
    public function __construct()
    {
        parent::__construct();
        $this->model = new NodeModel();

    }

    /**
     * 获取节点
     * 获取客户节点或订单节点
     */
    public function getNode(){
        $type = $this->request->param('type',1);
        $nodeList = $this->model->getNodeList($type);//客户节点
        $this->result($nodeList);
    }

    public function getProcess(){

    }









}
